#ifndef CCOMBOBOX_H
#define CCOMBOBOX_H

#include "cControl.h"


class cComboBox : public cControl
{
    public:
        cComboBox(cHwnd * parent,int x, int y,int largeur, int hauteur, bool editabled=false,cHwnd * HWNDParent=NULL);
        virtual ~cComboBox();
        void        AddItem(string libelle);
        functionEvenement onChange;
        string      GetText();


    protected:
    private:
        bool         TraitementEvent(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam,LRESULT &resultat);
};

#endif // CCOMBOBOX_H
